-
Notifications
You must be signed in to change notification settings - Fork 37
MCheckableStyle
-
AccessRole
-
AccessDescription
-
AccessKbdShortcutString
-
AccessSelectable
-
AccessCallback
-
AccessChildSelected
-
AccessFocused
-
AccessState
* **FAccessTabindex**<br /> * **tabindex** : [Transform](Transform)\<int\><br /> * **FAccessEnabled**<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **FAccessAttribute**<br /> * **name** : string<br /> * **value** : [Transform](Transform)\<string\><br /> * **FAccessStyle**<br /> * **name** : string<br /> * **value** : [Transform](Transform)\<string\><br /> * **FAccessTabOrder**<br /> * **tabOrder** : [Transform](Transform)\<\[ int \]\><br /> * **FAccessZorder**<br /> * **zOrder** : [Transform](Transform)\<int\><br /> * **FAccessVisible**<br /> * **visible** : [Transform](Transform)\<bool\><br />
-
TagName
-
LangAttribute
-
MouseOnDownAroundState
-
MOnClick
Only one type of MOnClick* is called when several conflicting styles are used.
For example if button has MOnClick and MOnTripleClick, only MOnTripleClick on triple click.
If click starts some async task, then consider to use MOnClickAsync instead-
click : () -> void
-
click : () -> void
-
MOnMiddleClick
-
click : () -> void
-
click : () -> void
-
MOnRightClick
-
click : () -> void
-
click : () -> void
-
MMousePosition
Mouse coordinates inside component-
point : DynamicBehaviour<Point>
-
point : DynamicBehaviour<Point>
-
MOnDoubleClick
-
click : () -> void
-
click : () -> void
-
MOnTripleClick
-
click : () -> void
-
click : () -> void
-
MOnClickAsync
Blocks button till the end of async action started by the click-
click : (() -> void) -> void
-
click : (() -> void) -> void
-
MOnLongClick
-
click : () -> void
-
click : () -> void
-
MOnLongTouch
-
touch : () -> void
-
touch : () -> void
-
MLongTouchDelay
-
delay : int
-
delay : int
-
MOnTouch
ms, 500 by default-
delay : int
-
touch : () -> void
-
delay : int
-
MDisableHover
-
MInteractionId
Id used in manager.currentInteractionItemID-
id : int
-
id : int
-
MPassClicks
Pass clicks to elements below -
MAdditionalRollOutCheck
Additional check for roll out
Useful in cases when your component translated to different point while mouse inside -
MMobileForceHover
Force hover on mobile
-
-
MouseOnDownAroundState
-
TButtonState
* **MEnabled**<br /> Disables inner clickable materials in most of the components<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MOnMouseDown**<br /> * **down** : (**point** : Point, **inside** : bool) -> void<br /> * **MOnMouseUp**<br /> * **up** : (**point** : Point, **inside** : bool) -> void<br /> * **MInteractionsOnTop**<br /> Move interactions on top of the component<br /> * **MRightDown**<br /> * **down** : DynamicBehaviour\<bool\><br /> * **MMiddleDown**<br /> * **down** : DynamicBehaviour\<bool\><br />
-
MFocusEnabled
Enable or disable shortcuts and keys for focus, theme changer and feedback snapshots.-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MForceFocusEnabled
Force focus enabled-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MFocusOnPrevious
Focus on previously focused item after focus is lost on current -
MShortcut
Keyboard shortcut to active the button-
shortcut : string
-
shortcut : string
-
MShortcutKeyCodeComparison
Compare shortcuts by keycode instead of utf-8 character. -
MShortcutPreventDefault
Call preventDefault -
MDefaultShortcutEnabled
Enable default enter/space apply shortcut
True by default-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
-
MRippleColor
Color of the ripple-
color : Transform<MThemeColor>
-
color : Transform<MThemeColor>
-
MRippleOpacity
Opacity of the ripple-
opacity : Transform<double>
-
opacity : Transform<double>
-
MRippleType
Inspector
Type of the ripple animation-
type : Transform<RippleType>
-
type : Transform<RippleType>
-
MRipplePosition
Position of top left corner of the ripple-
position : Transform<Point>
-
position : Transform<Point>
-
MRippleShape
-
component : string
-
component : string
-
MRippleOverlay
-
overlay : bool
-
overlay : bool
-
MRippleWidthHeight
-
wh : Transform<WidthHeight>
-
wh : Transform<WidthHeight>
-
MRippleFocused
default: true-
focused : Transform<bool>
-
focused : Transform<bool>
-
MRippleHovered
-
hovered : Transform<bool>
-
hovered : Transform<bool>
-
MRippleSelected
-
selected : Transform<bool>
-
selected : Transform<bool>
-
MEnabled
Disables inner clickable materials in most of the components-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MRipplePercents
-
growth : DynamicBehaviour<double>
-
fade : DynamicBehaviour<double>
-
growth : DynamicBehaviour<double>
-
-
MFocusOnDown
Set focus to true on mouse down inside-
enabled : ref bool
-
enabled : ref bool
-
MKeepFocusOnDown
Doen't drop focus on mouse down inside-
enabled : ref bool
-
enabled : ref bool
-
MHighlightOnFocus
Add highlight if focused, selected or hovered-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MHighlightOnHover
-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MHighlightOnSelect
-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MCursorShape
Shape of the cursor inside, disabled if MEnabled is disabled too-
shape : Transform<CursorShape>
-
shape : Transform<CursorShape>
-
MClickEnabled
Disable any mouse interaction without making component disabled-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MHoverEnabled
Disable hover-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MShortcutFilter
Function to decide if shortcut should be handled or not-
filterFn : (focused : bool, keyEvent : KeyEvent) -> bool
-
filterFn : (focused : bool, keyEvent : KeyEvent) -> bool
-
MTooltipText
Simple tooltip-
text : Transform<string>
-
text : Transform<string>
-
MFocused
Shows is this component focused
Also allows to set focus-
focused : DynamicBehaviour<bool>
-
focused : DynamicBehaviour<bool>
-
MSelected
-
selected : DynamicBehaviour<bool>
-
selected : DynamicBehaviour<bool>
-
MActive
-
active : DynamicBehaviour<bool>
-
active : DynamicBehaviour<bool>
-
MKeepFocusOnClickOut
Keep focus on clicks outside this component -
IScriptBehaviour
-
name : string
-
beh : DynamicBehaviour<flow>
-
type : IScriptRecordType
-
name : string
-
IScriptId
-
id : string
-
id : string
-
IScriptRecordingEnabled
-
enabled : Transform<bool>
-
enabled : Transform<bool>
-
MFocusId
Set MFocus id which acts also as taborder inside parent MFocusGroup
Components with same MFocusId inside same parent can cause problems-
id : Transform<int>
-
id : Transform<int>
-
MAddFocusGroup
Wrap constructed MFocus and constructed content with MFocusGroup-
add : bool
-
add : bool
-
MGetFocus
Get contructed inside the component MFocus-
getFn : (MFocus) -> void
-
getFn : (MFocus) -> void
-
MElevation
Elevation on focus (8. by default)-
elevation : Transform<double>
-
elevation : Transform<double>
-
MFocusName
-
name : string
-
name : string
-
MButtonTitle
-
title : Transform<string>
-
title : Transform<string>
-
MOnFocus
Called when component gets or loses focus-
onFocus : (focus : bool) -> void
-
onFocus : (focus : bool) -> void
-
-
-
MIconStyle
-
MThemeColor
-
MColor
https://www.google.com/design/spec/style/color.html#color-color-palette
To construct a color, use one of the functions below-
color : MColorName
-
shade : int
-
accent : bool
-
color : MColorName
-
MPrimaryColor
-
MPrimaryVariantColor
-
MSecondaryColor
-
MSecondaryVariantColor
-
MBackgroundColor
-
MSurfaceColor
-
MToolbarColor
-
MErrorColor
-
MOnPrimaryColor
-
MOnSecondaryColor
-
MOnBackgroundColor
-
MOnSurfaceColor
-
MOnToolbarColor
-
MOnErrorColor
-
MContrastingTextColor
-
background : MThemeColor
-
background : MThemeColor
-
MThemedColor
-
-
MThemeColor
-
MIconStyle
-
FillOpacity
* **MIconSize**<br /> Width and height of the icon<br /> 24px by default<br /> * **size** : double<br /> * **MIconDisabled**<br /> * **MCircleBackground**<br /> * **color** : [MThemeColor](MThemeColor)<br /> * **size** : double<br /> * **MElevation**<br /> Elevation on focus (8. by default)<br /> * **elevation** : [Transform](Transform)\<double\><br /> * **MIconCounter**<br /> * **value** : [Transform](Transform)\<int\><br /> * **style** : \[ [MIconCounterStyle](MIconCounterStyle) \]<br />
-
FontFamily
* **MIconicFont**<br /> Used to display not yet fully loaded iconic font in the editor<br /> * **font** : IconicFont<br />
-
MIconButtonBorder
Inner borders of the button
Half the size of the icon by default
-
border : double
-
border : double
-
MIconButtonBorder
-
MUncheckedIconStyle
-
style : [ MIconStyle ]
-
style : [ MIconStyle ]
-
MCaptionPosition
-
pos : MPosition
-
pos : MPosition
-
MWidth
-
width : double
-
width : double
-
MLeftIcon
Left icon
See MShowLeftButton for action button-
icon : string
-
style : [ MIconStyle ]
-
icon : string
-
MLabel
Label in empty input-
label : string
-
label : string
-
MOnNewValue
-
fn : (bool) -> void
-
fn : (bool) -> void
-
MIconBorder4
-
left : double
-
top : double
-
right : double
-
bottom : double
-
left : double