πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
Represents a UI Repeater component.

Summary ​

Constructors

constructor

Properties

android
ios
items
itemsLayout
itemTemplate
itemTemplates
knownFunctions
152 properties inherited from CustomLayoutView
Click to expand
_androidContentDescriptionUpdated
_automaticallyAdjustsScrollViewInsets
_closeModalCallback
_context
_cssState
_defaultPaddingBottom
_defaultPaddingLeft
_defaultPaddingRight
_defaultPaddingTop
_domId
_ignoreFlexMinWidthHeightReset
_isAddedToNativeVisualTree
_isLayoutValid
_isPaddingRelative
_isStyleScopeHost
_oldBottom
_oldLeft
_oldRight
_oldTop
_styleScope
_suspendNativeUpdatesCount
accessibilityBlurEvent
accessibilityFocusChangedEvent
accessibilityFocusEvent
accessibilityHidden
accessibilityHint
accessibilityIdentifier
accessibilityLabel
accessibilityLanguage
accessibilityLiveRegion
accessibilityMediaSession
accessibilityPerformEscapeEvent
accessibilityRole
accessibilityState
accessibilityValue
accessible
alignSelf
androidDynamicElevationOffset
androidElevation
automationText
background
backgroundColor
backgroundImage
bindingContext
borderBottomColor
borderBottomLeftRadius
borderBottomRightRadius
borderBottomWidth
borderColor
borderLeftColor
borderLeftWidth
borderRadius
borderRightColor
borderRightWidth
borderTopColor
borderTopLeftRadius
borderTopRightRadius
borderTopWidth
borderWidth
boxShadow
className
col
color
colSpan
column
columnSpan
createdEvent
cssClasses
cssPseudoClasses
cssType
disposeNativeViewEvent
dock
domNode
effectiveBorderBottomWidth
effectiveBorderLeftWidth
effectiveBorderRightWidth
effectiveBorderTopWidth
effectiveHeight
effectiveLeft
effectiveMarginBottom
effectiveMarginLeft
effectiveMarginRight
effectiveMarginTop
effectiveMinHeight
effectiveMinWidth
effectivePaddingBottom
effectivePaddingLeft
effectivePaddingRight
effectivePaddingTop
effectiveTop
effectiveWidth
flexGrow
flexShrink
flexWrapBefore
height
horizontalAlignment
id
ignoreTouchAnimation
iosAccessibilityAdjustsFontSize
iosAccessibilityMaxFontScale
iosAccessibilityMinFontScale
iosIgnoreSafeArea
iosOverflowSafeArea
iosOverflowSafeAreaEnabled
isCollapsed
isEnabled
isLayoutValid
isUserInteractionEnabled
layoutChangedEvent
left
loadedEvent
margin
marginBottom
marginLeft
marginRight
marginTop
minHeight
minWidth
modal
nativeViewProtected
opacity
order
originX
originY
parent
perspective
propertyChangeEvent
recycleNativeView
reusable
rotate
rotateX
rotateY
row
rowSpan
scaleX
scaleY
sharedTransitionIgnore
sharedTransitionTag
showingModallyEvent
shownModallyEvent
testID
top
touchAnimation
touchDelay
transitionId
translateX
translateY
unloadedEvent
verticalAlignment
viewController
visibility
width

Methods

_getDefaultItemContent
_onItemsChanged
_requestRefresh
eachChildView
onLayout
onLoaded
onMeasure
refresh
108 methods inherited from CustomLayoutView
Click to expand
_addView
_addViewCore
_addViewToNativeVisualTree
_applyXmlAttribute
_batchUpdate
_childIndexToNativeChildIndex
_closeAllModalViewsInternal
_createPropertyChangeData
_dialogClosed
_eachLayoutView
_emit
_getNativeViewsCount
_getRootModalViews
_getValue
_handleLivesync
_hasAncestorView
_hideNativeModalView
_inheritStyleScope
_layoutParent
_observe
_onAttachedToWindow
_onDetachedFromWindow
_onRootViewReset
_onSizeChanged
_parentChanged
_raiseLayoutChangedEvent
_raiseShowingModallyEvent
_raiseShownModallyEvent
_removeView
_removeViewCore
_removeViewFromNativeVisualTree
_resumeNativeUpdates
_setupAsRootView
_setupUI
_setValue
_shouldDelayLayout
_showNativeModalView
_suspendNativeUpdates
_tearDownUI
_updateStyleScope
accessibilityAnnouncement
accessibilityScreenChanged
addEventListener
addEventListener
addPseudoClass
animate
bind
callLoaded
callUnloaded
closeModal
combineMeasuredStates
createAnimation
createNativeView
deletePseudoClass
destroyNode
disposeNativeView
eachChild
ensureDomNode
focus
get
getActualSize
getGestureObservers
getLocationInWindow
getLocationOnScreen
getLocationRelativeTo
getMeasuredHeight
getMeasuredState
getMeasuredWidth
getSafeAreaInsets
getViewByDomId
getViewById
hasGestureObservers
hasListeners
initNativeView
layout
layoutChild
layoutNativeView
loadView
measure
measureChild
notify
notifyPropertyChange
off
off
on
on
onBackPressed
once
once
onResumeNativeUpdates
onUnloaded
removeEventListener
removeEventListener
requestLayout
resetNativeView
resolveSizeAndState
sendAccessibilityEvent
set
setInlineStyle
setMeasuredDimension
setNativeView
setOnTouchListener
setProperty
setTestID
showModal
toString
unbind
unloadView

Constructors ​

constructor ​

Properties ​

itemTemplate ​

itemTemplate: string | Template 
Gets or set the item template of the Repeater.

itemTemplates ​

itemTemplates: string | KeyedTemplate[]
Gets or set the item templates of the Repeater.

items ​

items: any[] | ItemsSource
Gets or set the items collection of the Repeater. The items property can be set to an array or an object defining length and getItem(index) method.

itemsLayout ​

itemsLayout: LayoutBase 
Gets or set the items layout of the Repeater. Default value is StackLayout with orientation="vertical".

knownFunctions ​

Static
knownFunctions: string[]

Accessors ​

_childrenCount ​

get _childrenCount(): number

itemTemplateSelector ​

get itemTemplateSelector():string| (item:any, index:number, items:any) => string
Returns string | (item: any, index: number, items: any) => string

Methods ​

_getDefaultItemContent ​

_getDefaultItemContent(index: number): View 
Parameter Default Description
index
number
Returns View

_onItemsChanged ​

_onItemsChanged(data: ChangedData<any>): void
Parameter Default Description
data
Returns void

_requestRefresh ​

_requestRefresh(): void

eachChildView ​

eachChildView(callback: (child: View) => boolean): void
Parameter Default Description
callback
(child: View) => boolean
Returns void

onLayout ​

onLayout(left: number, top: number, right: number, bottom: number): void
Parameter Default Description
left
number
top
number
right
number
bottom
number
Returns void

onLoaded ​

onLoaded(): void

onMeasure ​

onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void
Parameter Default Description
widthMeasureSpec
number
heightMeasureSpec
number
Returns void

refresh ​

refresh(): void
Forces the Repeater to reload all its items.
Returns void

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /