Classes
ActionItem
ActionItem
Represents an action item in the action bar.
Summary β
Constructors
Properties
69 properties inherited from ViewBase
Click to expand
- _automaticallyAdjustsScrollViewInsets
- _context
- _cssState
- _defaultPaddingBottom
- _defaultPaddingLeft
- _defaultPaddingRight
- _defaultPaddingTop
- _domId
- _ignoreFlexMinWidthHeightReset
- _isAddedToNativeVisualTree
- _isPaddingRelative
- _isStyleScopeHost
- _oldBottom
- _oldLeft
- _oldRight
- _oldTop
- _styleScope
- _suspendNativeUpdatesCount
- alignSelf
- bindingContext
- className
- col
- colSpan
- column
- columnSpan
- createdEvent
- cssClasses
- cssPseudoClasses
- disposeNativeViewEvent
- dock
- domNode
- effectiveBorderBottomWidth
- effectiveBorderLeftWidth
- effectiveBorderRightWidth
- effectiveBorderTopWidth
- effectiveHeight
- effectiveLeft
- effectiveMarginBottom
- effectiveMarginLeft
- effectiveMarginRight
- effectiveMarginTop
- effectiveMinHeight
- effectiveMinWidth
- effectivePaddingBottom
- effectivePaddingLeft
- effectivePaddingRight
- effectivePaddingTop
- effectiveTop
- effectiveWidth
- flexGrow
- flexShrink
- flexWrapBefore
- id
- isCollapsed
- left
- loadedEvent
- nativeViewProtected
- order
- parent
- propertyChangeEvent
- recycleNativeView
- reusable
- row
- rowSpan
- sharedTransitionIgnore
- sharedTransitionTag
- top
- unloadedEvent
- viewController
Methods
64 methods inherited from ViewBase
Click to expand
- _addView
- _addViewCore
- _addViewToNativeVisualTree
- _applyXmlAttribute
- _batchUpdate
- _childIndexToNativeChildIndex
- _createPropertyChangeData
- _dialogClosed
- _emit
- _goToVisualState
- _inheritStyleScope
- _layoutParent
- _onRootViewReset
- _parentChanged
- _removeView
- _removeViewCore
- _removeViewFromNativeVisualTree
- _resumeNativeUpdates
- _setupAsRootView
- _setupUI
- _shouldDelayLayout
- _suspendNativeUpdates
- _tearDownUI
- addEventListener
- addEventListener
- addPseudoClass
- bind
- callLoaded
- callUnloaded
- closeModal
- createNativeView
- deletePseudoClass
- destroyNode
- disposeNativeView
- eachChild
- ensureDomNode
- get
- getViewByDomId
- getViewById
- hasListeners
- initNativeView
- loadView
- notify
- notifyPropertyChange
- off
- off
- on
- once
- once
- onLoaded
- onResumeNativeUpdates
- onUnloaded
- removeEventListener
- removeEventListener
- requestLayout
- resetNativeView
- set
- setInlineStyle
- setNativeView
- setProperty
- showModal
- toString
- unbind
- unloadView
Constructors β
constructor β
new ActionItem(): ActionItem
inherited from
Returns ActionItem
Properties β
android β
Gets the Android specific options of the action item.
icon β
Gets or sets the icon of the action item.
ios β
Gets the iOS specific options of the action item.
text β
Gets or sets the text of the action item.
visibility β
Gets or sets the visibility of the action item.
Methods β
on β
on(eventNames: string, callback: (data: EventData) => void): void
A basic method signature to hook an event listener (shortcut alias to the addEventListener method).
Parameter Default Description
eventNames
string
String corresponding to events (e.g. "propertyChange"). Optionally could be used more events separated by
`,`
(e.g. "propertyChange", "change"). Returns void
on(event: "tap", callback: (args: EventData) => void): void
Raised when a tap event occurs.
Returns void
- Previous
- ActionBar
- Next
- ActionItems
On this page